home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 118 / cd-rom 118.iso / aplic / open / openofficeorg1.cab / sbasic.jar / text / sbasic / shared / 01 / 06130000.xhp next >
Encoding:
Extensible Markup Language  |  2005-02-14  |  14.6 KB  |  137 lines

  1. <?xml version="1.0" encoding="UTF-8"?><!--*********************************************************************** * *  The Contents of this file are made available subject to the terms of *  either of the following licenses * *         - GNU Lesser General Public License Version 2.1 *         - Sun Industry Standards Source License Version 1.1 * *  Sun Microsystems Inc., October, 2000 * *  GNU Lesser General Public License Version 2.1 *  ============================================= *  Copyright 2000 by Sun Microsystems, Inc. *  901 San Antonio Road, Palo Alto, CA 94303, USA * *  This library is free software; you can redistribute it and/or *  modify it under the terms of the GNU Lesser General Public *  License version 2.1, as published by the Free Software Foundation. * *  This library is distributed in the hope that it will be useful, *  but WITHOUT ANY WARRANTY; without even the implied warranty of *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU *  Lesser General Public License for more details. * *  You should have received a copy of the GNU Lesser General Public *  License along with this library; if not, write to the Free Software *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, *  MA  02111-1307  USA * * *  Sun Industry Standards Source License Version 1.1 *  ================================================= *  The contents of this file are subject to the Sun Industry Standards *  Source License Version 1.1 (the "License"); You may not use this file *  except in compliance with the License. You may obtain a copy of the *  License at http://www.openoffice.org/license.html. * *  Software provided under this License is provided on an "AS IS" basis, *  WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, *  WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS, *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. *  See the License for the specific provisions governing your rights and *  obligations concerning the Software. * *  The Initial Developer of the Original Code is: Sun Microsystems, Inc.. * *  Copyright: 2000 by Sun Microsystems, Inc. * *  All Rights Reserved. * *  Contributor(s): _______________________________________ * * ************************************************************************-->
  2. <helpdocument version="1.0">
  3.     <meta>
  4.         <topic id="textsbasicshared0106130000xml" indexer="include" status="PUBLISH">
  5.             <title xml-lang="en-US" id="tit">Macro</title>
  6.             <filename>/text/sbasic/shared/01/06130000.xhp</filename>
  7.         </topic>
  8.         <history>
  9.             <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
  10.             <lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
  11.         </history>
  12.     </meta>
  13.     <body>
  14.         <bookmark branch="index" xml-lang="en-US" id="bm_id3145786">
  15.             <bookmark_value>macros; Basic IDE</bookmark_value>
  16.             <bookmark_value>Basic IDE; macros</bookmark_value>
  17.         </bookmark>
  18.         <bookmark branch="hid/.uno:MacroDialog" xml-lang="en-US" id="bm_id3154013"/>
  19.         <paragraph role="heading" level="1" id="hd_id3145786" l10n="U" xml-lang="en-US" oldref="1">Macro</paragraph>
  20.         <paragraph l10n="U" role="paragraph" id="par_id3152886" xml-lang="en-US" oldref="2">
  21.             <variable id="makro">
  22.                 <ahelp visibility="visible" hid=".uno:MacroDialog">Opens the <emph>Macro </emph>dialog, where you can create, edit, organize, and run $[officename] Basic macros.</ahelp>
  23.             </variable>
  24.         </paragraph>
  25.         <bookmark branch="hid/BASCTL_EDIT_RID_MACROCHOOSER_RID_ED_MACRONAME" xml-lang="en-US" id="bm_id3150486"/>
  26.         <paragraph role="heading" level="2" id="hd_id3154145" l10n="U" xml-lang="en-US" oldref="3">Macro name</paragraph>
  27.         <paragraph l10n="U" role="paragraph" id="par_id3151116" xml-lang="en-US" oldref="4">
  28.             <ahelp hid="BASCTL_EDIT_RID_MACROCHOOSER_RID_ED_MACRONAME" visibility="visible">Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.</ahelp>
  29.         </paragraph>
  30.         <bookmark branch="hid/HID_BASICIDE_MACROS" xml-lang="en-US" id="bm_id3147428"/>
  31.         <paragraph l10n="U" role="paragraph" id="par_id3146921" xml-lang="en-US" oldref="6">
  32.             <ahelp visibility="visible" hid="HID_BASICIDE_MACROS">Lists the macros that are contained in the module selected in the <emph>Macro from </emph>list.</ahelp>
  33.         </paragraph>
  34.         <bookmark branch="hid/HID_BASICIDE_LIBS" xml-lang="en-US" id="bm_id3153140"/>
  35.         <paragraph role="heading" level="2" id="hd_id3153729" l10n="U" xml-lang="en-US" oldref="7">Macro from / Save macro in</paragraph>
  36.         <paragraph l10n="U" role="paragraph" id="par_id3153190" xml-lang="en-US" oldref="8">
  37.             <ahelp hid="HID_BASICIDE_LIBS" visibility="visible">Lists the libraries and the modules where you can open or save your macros. To save a macro with a particular document, open the document, and then open this dialog.</ahelp>
  38.         </paragraph>
  39.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_RUN" xml-lang="en-US" id="bm_id3153954"/>
  40.         <paragraph role="heading" level="2" id="hd_id3146975" l10n="U" xml-lang="en-US" oldref="11">Run / Save</paragraph>
  41.         <paragraph l10n="U" role="paragraph" id="par_id3154791" xml-lang="en-US" oldref="12">
  42.             <ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_RUN" visibility="visible">Runs or saves the current macro.</ahelp>
  43.         </paragraph>
  44.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ASSIGN" xml-lang="en-US" id="bm_id3154942"/>
  45.         <paragraph role="heading" level="2" id="hd_id3153158" l10n="U" xml-lang="en-US" oldref="15">Assign</paragraph>
  46.         <paragraph l10n="U" role="paragraph" id="par_id3149961" xml-lang="en-US" oldref="16">
  47.             <ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ASSIGN" visibility="visible">Opens the Customize dialog, where you can assign the selected macro to a menu command, a shortcut key combination, or an event.</ahelp>
  48.         </paragraph>
  49.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_EDIT" xml-lang="en-US" id="bm_id3150113"/>
  50.         <paragraph role="heading" level="2" id="hd_id3145799" l10n="U" xml-lang="en-US" oldref="17">Edit</paragraph>
  51.         <paragraph l10n="U" role="paragraph" id="par_id3147127" xml-lang="en-US" oldref="18">
  52.             <ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_EDIT" visibility="visible">Starts the $[officename] Basic editor and opens the selected macro for editing.</ahelp>
  53.         </paragraph>
  54.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_DEL" xml-lang="en-US" id="bm_id3151318"/>
  55.         <paragraph role="heading" level="2" id="hd_id3149400" l10n="U" xml-lang="en-US" oldref="19">New/Delete</paragraph>
  56.         <paragraph l10n="U" role="paragraph" id="par_id3155602" xml-lang="en-US" oldref="61">
  57.             <ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_DEL" visibility="visible">Creates a new module or macro, or deletes the selected macro.</ahelp>
  58.         </paragraph>
  59.         <paragraph xml-lang="en-US" oldref="20" id="par_id3149124" l10n="U" role="paragraph">To create a new macro, select the "Standard" module in the <emph>Macro from</emph> list, and then click <emph>New</emph>. You can also create a new module, select it in the <emph>Macro from </emph>list, and then click <emph>New</emph>.</paragraph>
  60.         <paragraph xml-lang="en-US" role="paragraph" id="par_id3150749" l10n="U" oldref="21">To delete a macro, select it, and then click <emph>Delete</emph>.</paragraph>
  61.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ORG" xml-lang="en-US" id="bm_id3155446"/>
  62.         <paragraph role="heading" level="2" id="hd_id3153764" l10n="U" xml-lang="en-US" oldref="22">Organizer</paragraph>
  63.         <paragraph l10n="U" role="paragraph" id="par_id3148405" xml-lang="en-US" oldref="23">
  64.             <ahelp visibility="visible" hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ORG">Opens the <emph>Macro Organizer</emph> dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries.</ahelp>
  65.         </paragraph>
  66.         <paragraph role="heading" level="3" id="hd_id3150043" l10n="U" xml-lang="en-US" oldref="24">Module tab page</paragraph>
  67.         <paragraph l10n="U" role="paragraph" id="par_id3151248" xml-lang="en-US" oldref="25">
  68.             <ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ORG" visibility="visible">Lets you manage dialogs and modules.</ahelp>
  69.         </paragraph>
  70.         <paragraph role="heading" level="3" id="hd_id3155936" l10n="U" xml-lang="en-US" oldref="26">Module/Dialog</paragraph>
  71.         <paragraph xml-lang="en-US" oldref="27" role="paragraph" id="par_id3153963" l10n="U">Click <emph>New Dialog</emph> or <emph>New Module</emph>. You will be asked for a name for the new module or new dialog.</paragraph>
  72.         <bookmark branch="hid/HID_BASICIDE_MODULES_TREE" xml-lang="en-US" id="bm_id3151188"/>
  73.         <paragraph role="heading" level="3" id="hd_id3166447" l10n="U" xml-lang="en-US" oldref="29">Module/Dialog</paragraph>
  74.         <paragraph l10n="U" role="paragraph" id="par_id3155959" xml-lang="en-US" oldref="30">
  75.             <ahelp hid="HID_BASICIDE_MODULES_TREE" visibility="visible">Lists the existing macros and dialogs for the current application and any open documents.</ahelp>
  76.         </paragraph>
  77.         <paragraph role="paragraph" id="par_id3149922" l10n="U" xml-lang="en-US" oldref="31">You can drag-and-drop some macros between the application and any open documents.</paragraph>
  78.         <paragraph xml-lang="en-US" role="paragraph" id="par_id3159333" l10n="U" oldref="33">To copy a dialog or a macro, hold down the <switchinline select="sys"> <caseinline select="MAC">Command</caseinline>
  79.                 <defaultinline>Ctrl</defaultinline>
  80.             </switchinline> key while you drag-and-drop.</paragraph>
  81.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_EDIT" xml-lang="en-US" id="bm_id3152775"/>
  82.         <paragraph role="heading" level="3" id="hd_id3147131" l10n="U" xml-lang="en-US" oldref="34">Edit</paragraph>
  83.         <paragraph l10n="U" role="paragraph" id="par_id3149816" xml-lang="en-US" oldref="35">
  84.             <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_EDIT" visibility="visible">Opens the selected macro or dialog for editing.</ahelp>
  85.         </paragraph>
  86.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWMOD" xml-lang="en-US" id="bm_id3148421"/>
  87.         <paragraph role="heading" level="3" id="hd_id3151214" l10n="U" xml-lang="en-US" oldref="36">New Module</paragraph>
  88.         <paragraph l10n="U" role="paragraph" id="par_id3154202" xml-lang="en-US" oldref="37">
  89.             <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWMOD" visibility="visible">Opens the $[officename] Basic editor and creates a new module.</ahelp>
  90.         </paragraph>
  91.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG" xml-lang="en-US" id="bm_id3154715"/>
  92.         <paragraph role="heading" level="3" id="hd_id3150364" l10n="U" xml-lang="en-US" oldref="39">New Dialog</paragraph>
  93.         <paragraph l10n="U" role="paragraph" id="par_id3153269" xml-lang="en-US" oldref="40">
  94.             <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG" visibility="visible">Opens the $[officename] Basic editor and creates a new dialog.</ahelp>
  95.         </paragraph>
  96.         <paragraph role="heading" level="3" id="hd_id3154587" l10n="U" xml-lang="en-US" oldref="42">Libraries tab page</paragraph>
  97.         <paragraph l10n="U" role="paragraph" id="par_id3153705" xml-lang="en-US" oldref="43">
  98.             <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG" visibility="visible">Lets you manage the macro libraries for the current application and any open documents.</ahelp>
  99.         </paragraph>
  100.         <bookmark branch="hid/BASCTL_LISTBOX_RID_TP_LIBS_RID_LB_BASICS" xml-lang="en-US" id="bm_id3153782"/>
  101.         <paragraph role="heading" level="3" id="hd_id3145259" l10n="U" xml-lang="en-US" oldref="44">Application / Document</paragraph>
  102.         <paragraph l10n="U" role="paragraph" id="par_id3153234" xml-lang="en-US" oldref="45">
  103.             <ahelp hid="BASCTL_LISTBOX_RID_TP_LIBS_RID_LB_BASICS" visibility="visible">Select the application or the document containing the macro libraries that you want to organize.</ahelp>
  104.         </paragraph>
  105.         <bookmark branch="hid/HID_BASICIDE_LIBS_TREE" xml-lang="en-US" id="bm_id3154657"/>
  106.         <paragraph role="heading" level="3" id="hd_id3148460" l10n="U" xml-lang="en-US" oldref="46">Library</paragraph>
  107.         <paragraph l10n="U" role="paragraph" id="par_id3150828" xml-lang="en-US" oldref="47">
  108.             <ahelp hid="HID_BASICIDE_LIBS_TREE" visibility="visible">Lists the existing macro libraries for the current application and any open documents.</ahelp>
  109.         </paragraph>
  110.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_EDIT" xml-lang="en-US" id="bm_id3150884"/>
  111.         <paragraph role="heading" level="3" id="hd_id3145134" l10n="U" xml-lang="en-US" oldref="48">Edit</paragraph>
  112.         <paragraph l10n="U" role="paragraph" id="par_id3150518" xml-lang="en-US" oldref="49">
  113.             <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_EDIT" visibility="visible">Opens the $[officename] Basic editor so that you can modify the selected library.</ahelp>
  114.         </paragraph>
  115.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_PASSWORD" xml-lang="en-US" id="bm_id3145585"/>
  116.         <paragraph role="heading" level="3" id="hd_id3150371" l10n="U" xml-lang="en-US" oldref="50">Password</paragraph>
  117.         <paragraph l10n="U" role="paragraph" id="par_id3166430" xml-lang="en-US" oldref="51">
  118.             <ahelp visibility="visible" hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_PASSWORD">Assigns or edits the <link href="text/sbasic/shared/01/06130100.xhp" name="password">password</link> for the selected library.</ahelp>
  119.         </paragraph>
  120.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_NEWLIB" xml-lang="en-US" id="bm_id3146979"/>
  121.         <paragraph role="heading" level="3" id="hd_id3154372" l10n="U" xml-lang="en-US" oldref="52">New</paragraph>
  122.         <paragraph l10n="U" role="paragraph" id="par_id3145387" xml-lang="en-US" oldref="53">
  123.             <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_NEWLIB" visibility="visible">Creates a new library.</ahelp>
  124.         </paragraph>
  125.         <bookmark branch="hid/BASCTL_EDIT_RID_DLG_NEWLIB_RID_ED_LIBNAME" xml-lang="en-US" id="bm_id3150522"/>
  126.         <paragraph role="heading" level="3" id="hd_id3154259" l10n="U" xml-lang="en-US" oldref="56">Name</paragraph>
  127.         <paragraph l10n="U" role="paragraph" id="par_id3156169" xml-lang="en-US" oldref="57">
  128.             <ahelp hid="BASCTL_EDIT_RID_DLG_NEWLIB_RID_ED_LIBNAME" visibility="visible">Enter a name for the new library or module.</ahelp>
  129.         </paragraph>
  130.         <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_APPEND" xml-lang="en-US" id="bm_id3152889"/>
  131.         <paragraph role="heading" level="3" id="hd_id3151183" l10n="U" xml-lang="en-US" oldref="54">Append</paragraph>
  132.         <paragraph l10n="U" role="paragraph" id="par_id3155126" xml-lang="en-US" oldref="55">
  133.             <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_APPEND" visibility="visible">Locate that $[officename] Basic library that you want to add to the current list, and then click Open.</ahelp>
  134.         </paragraph>
  135.     </body>
  136. </helpdocument>
  137.